﻿using System;
using System.ServiceModel.Configuration;

namespace NCMIS.ServiceModel
{
    /// <summary>
    /// Represents the configuration element for a <see cref="FaultingWebHttpBehavior"/>
    /// </summary>
    public class FaultingWebHttpBehaviorElement : BehaviorExtensionElement
    {
        public override Type BehaviorType
        {
            get
            {
                return typeof(FaultingWebHttpBehavior);
            }
        }

        protected override object CreateBehavior()
        {
            return new FaultingWebHttpBehavior();
        }
    }
}
